import React, {Component} from 'react'

import {BrowserRouter , Link} from 'react-router-dom'

import {rlStyle , refresh} from '../../../../config/style.js'

class UserRmenu extends Component {

  render() {
    return (
        <div class="right-nav">
          <div class="rightNav-title">用户相关</div>
            <div class="menu">
              <BrowserRouter>
                <Link to="/user/list" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>用户列表</div></Link>
                <Link to="/user/black" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}> 黑名单</div></Link>
                <Link to="/user/violate" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>禁止</div></Link>
              </BrowserRouter>              
          </div>
        </div>
    )
  }
}

export default UserRmenu